/*
 * mytimeer.c
 *
 *  Created on: 2012-3-11
 *      Author: wutao
 */

#include "mytimeer.h"
#include <sys/select.h>
#include <stdlib.h>

void runtimeer(struct timeval *time,callback_func func,void *arg) {
	select(1, NULL, NULL, NULL, time);
	if(func){
		func(arg);
	}
}
